#ifndef SELECTOR_H_INCLUDED
#define SELECTOR_H_INCLUDED

#include "cmd.h"

#define ID_SEL_RESET    0x06
#define ID_SEL_RESET_R  0x11
#define ID_SEL          0x05

int selector_exec(MH_UDP *pudp, int index, uchar *pstate);
int selector_reset(MH_UDP *pudp, int group, int index);
int selector_reset_all(MH_UDP *pudp, int index, int type);
int selector_group_exec(MH_UDP *pudp, int index, uchar *pstate);

#endif // SELECTOR_H_INCLUDED
